<?php

class Flexical_Service_CAO_Exception extends Exception
{
	public $previous = null;

	public function __construct( $message, $code = 0, Exception $previous = null )
	{
		parent::__construct( $message, $code );

		if ( ! is_null( $previous ) )
		{
			$this->previous = $previous;
		}
	}
}

?>